package com.day3.test1;

/**
 * @author 小坡
 * @date 2022/9/5  10:10
 **/
public class Student extends Person{
    private int score;


    public Student() {
//         默认会有一个 super();
    }

    public Student(String name, int age, int score) {
        super(name, age);
        this.score = score;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }
}
